package com.zy.service.impl;

import com.zy.dao.AddUserDao;
import com.zy.dao.impl.AddUserDaoImpl;
import com.zy.service.AddUserService;

public class AddUserServiceImpl implements AddUserService {
    private AddUserDao addUserDao = new AddUserDaoImpl();

    @Override
    public boolean addUser(String username, String password, String role, double balance) {
        return addUserDao.addUser(username, password, role, balance);
    }
}